package com.prizedraw.prize_draw.service;

import com.prizedraw.prize_draw.common.lang.Result;
import com.prizedraw.prize_draw.entity.SysRole;
import com.prizedraw.prize_draw.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author czj666
 * @since 2021-09-07
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getByUserId(String userId);

    String getUserAuthorityInfo(Integer userId);

    void clearUserAuthorityInfo(Integer userId);

//    List<Object> importUserExcel(MultipartFile excel, BaseRowModel rowModel, int headLineNum) throws ExcelException, ExcelNullPointException;

    Result excelImport(MultipartFile excel) throws IOException;

}
